package com.liu.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Hospital {
    @TableId(type = IdType.AUTO)
    @Alias("ID")
    private Integer id;
    @Alias("医院名称")
    private String name;
    @Alias("医院等级")
    private String grade;
    @Alias("医院类型")
    private String type;
    @Alias("电话")
    private String phone;
    @Alias("地址")
    private String address;
    @Alias("照片")
    private String picture;
    @Alias("简介")
    private String outline;
    @Alias("省份编号")
    private Integer proId;
    @Alias("地区编号")
    private Integer areaId;
    private Area area;
    //医生类
    private List<Physician> physicianList;
}
